import request from "../utils/request";

export const getAgentSum = () => {
    return request.get("/api/getAgentSum");
}

export const getPartnerSum = () => {
    return request.get("/api/getPartnerSum");
}

export const getWalletInfo = (name) => {
    const data = new FormData();
    data.append("name", name)
    return request.post("/api/getWalletInfo", data);
}

export const getOrders = () => {
    return request.post("/api/getOrders");
}